// 下载状态枚举
export enum DownloadStatus {
    downloading = 'downloading',
    queued = 'queued',
    paused = 'paused',
    completed = 'completed',
    error = 'error',
    installing = 'installing',
    installed = 'installed'
}

// 下载任务接口
export interface DownloadTask {
    category: string;
    pkgname: string;
    filename: string;
    status: DownloadStatus;
    progress: number;
    speed?: string;
    size?: string;
    icon: string;
    name: string;
}